Inheritance diagram for IShComponentUtilities:

Public Member Functions | |
| virtual MCCOMErr MCCOMAPI | CoCreateInstance (const MCCLSID &rclsid, IMCUnknown *pUnkOuter, uint32 dwClsContext, const MCIID &riid, void **ppv)=0 |
| virtual MCCOMErr MCCOMAPI | CreateComponent (IDType familyID, IDType classID, IShComponent **component)=0 |
| virtual MCCOMErr MCCOMAPI | CreateComponent (IDType familyID, IDType classID, int32 version, IShComponent **component)=0 |
| virtual MCCOMErr MCCOMAPI | CreateIUnknown (IDType familyID, IDType classID, IMCUnknown *pUnkOuter, IMCUnknown **component)=0 |
| virtual MCCOMErr MCCOMAPI | CreateDefaultComponent (IDType familyID, IShComponent **component)=0 |
| virtual MCCOMErr MCCOMAPI | GetComponentClassInfoArrayByFamilyID (IDType familyID, TMCArray< TComponentClassInfo > &componentClassInfoArray)=0 |
| virtual MCCOMErr MCCOMAPI | WriteComponent (IShTokenStream *stream, IShParameterComponent *component)=0 |
| virtual MCCOMErr MCCOMAPI | WriteComponent (IShTokenStream *stream, IDType keyword, IShParameterComponent *component)=0 |
| virtual MCCOMErr MCCOMAPI | ReadComponent (IShTokenStream *stream, IShParameterComponent **component)=0 |
| virtual MCCOMErr MCCOMAPI | ReadComponent (IShTokenStream *stream, IShParameterComponent **component, IDType familyID)=0 |
| virtual MCCOMErr MCCOMAPI | ReadComponentData (TMCiostream *stream, IShParameterComponent *component)=0 |
| virtual boolean MCCOMAPI | AskForParams (IShParameterComponent *component)=0 |
| virtual MCCOMErr MCCOMAPI | StartFileReading ()=0 |
| virtual MCCOMErr MCCOMAPI | FinishFileReading ()=0 |
| virtual MCCOMErr MCCOMAPI | StartFileWriting ()=0 |
| virtual MCCOMErr MCCOMAPI | FinishFileWriting ()=0 |
| virtual TComponentClass *MCCOMAPI | GetComponentClass (IDType familyID, IDType classID)=0 |
|
|
Allows a component to present a dialog box asking for values for its parameters. Used, for example, when exporting a file, to present export options appropriate to the file format we're exporting to.
|
|
||||||||||||||||||||||||
|
Manually creates a component. TMCCountedPtr<I3DShInstance> instance;
gComponentUtilities->CoCreateInstance(CLSID_StandardInstance, NULL, MC_CLSCTX_INPROC_SERVER, IID_I3DShInstance, (void **) &instance);
instance->Set3DObject(masterObject);
|
|
||||||||||||||||||||
|
Creates a specific version of a component by family ID and class ID
|
|
||||||||||||||||
|
Creates the most recent version of a component by family ID and class ID.
|
|
||||||||||||
|
Creates a default instance of a component family.
|
|
||||||||||||||||||||
|
This is similar to CoCreateInstance, but creates the component instances by family and class ID. For example, CreateInstanceByID('gel ', 'blnd', &gel); creates a "blinds" gel.
|
|
|
|
|
|
Resets the component writing mechanism when finished writing a file. You should call it before you call WriteComponent. Note that this function is called by the shell when it is finishing writing to a file, so you only need to call it if you initiate the writing of the file. |
|
||||||||||||
|
Returns the component class of a component (Very rarely used)
|
|
||||||||||||
|
Gets an array of TComponentClassInfo for the classes that are in a given family
|
|
||||||||||||||||
|
Reads a component from an IShTokenStream when its family ID keyword header has been read.
|
|
||||||||||||
|
Reads a component from an IShTokenStream
|
|
||||||||||||
|
Reads a component's data from a TMCiostream.
|
|
|
Resets the component reading mechanism when you start reading a file. Call it before you call RedComponent. Note that it is called by the shell when starting to read a file, so you only need to call it if you initiate the reading of the file. |
|
|
Reset the component writing mechanism when you start writing a file. You should call it before you call WriteComponent. Note that it is called by the shell when it starts to write a file, so you only need to call it if you initiate the writing of a the file. |
|
||||||||||||||||
|
Writes a component to an IShTokenStream, with a keyword header
|
|
||||||||||||
|
Writes a component to an IShTokenStream
|
1.4.5